package com.cx.service.impl;

import com.cx.mapper.HotelMapper;
import com.cx.pojo.Hotel;
import com.cx.service.HotelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HotelServiceImpl implements HotelService {
    @Autowired
    HotelMapper hotelMapper;

    @Override
    public Hotel selectHotelById(Integer id) {
        return hotelMapper.selectByPrimaryKey(id);
    }
}
